package com.wgu.modules.web;

import com.wgu.common.global.Result;
import com.wgu.modules.service.BookService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: w
 * @Date: 2019/7/4 14:31
 * @Version 1.0
 */
@RestController
@RequestMapping("/api/book")
@Api(tags = "书籍模块", description = "此模块对所有书籍进行处理")
public class BookController {
    @Resource
    private BookService bookService;

    @GetMapping("/export")
    @ApiOperation(value = "书籍整理==》暂不支持前台整理")
    public Result export(){
        //bookService.export();
        return Result.ok();
    }
}
